﻿@if (Request.IsAuthenticated)
{    <li>
        @using (Html.BeginForm("LogOff", "Account", new {Area = "" }, FormMethod.Post, new { id = "logoutForm" }))
        {
        @Html.AntiForgeryToken()
            
            <ul class="nav navbar-nav">
                
    <li>@Html.ActionLink("Zarządzaj kontem", "Manage", "Account", new {Area = "" },new { @class = "username", title = "Manage" })        
        <li>
            <a href="javascript:document.getElementById('logoutForm').submit()">
                Wyloguj się

            </a></li>
                
                </ul>

        }
</li>
}
